package com.lyj.system.service.exam;

import com.lyj.system.domain.exam.dto.ExamAddDTO;
import com.lyj.system.domain.exam.dto.ExamEditDTO;
import com.lyj.system.domain.exam.dto.ExamQueryDTO;
import com.lyj.system.domain.exam.dto.ExamQuestAddDTO;
import com.lyj.system.domain.exam.vo.ExamDetailVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-08-20
 * Time: 23:57
 */
@Service
public interface ExamService {
    List<?> list(ExamQueryDTO examQueryDTO);

    String add(ExamAddDTO examAddDTO);

    boolean questionAdd(ExamQuestAddDTO examQuestAddDTO);

    int questionDelete(Long examId, Long questionId);

    ExamDetailVO detail(Long examId);

    int edit(ExamEditDTO examEditDTO);

    int delete(Long examId);

    int publish(Long examId);

    int cancelPublish(Long examId);
}
